// // ******************************************************************
// //       /\ /|       @file       MediaDto.cs
// //       \ V/        @brief      await29
// //       | "")       @author     Await, 285283010@qq.com
// //       /  |
// //      /  \\        @Modified   2025-01-02 20:01
// //    *(__\_\        @Copyright  Copyright (c) , 2024-12-27 18:12 Await
// // ******************************************************************

using System.ComponentModel;

namespace AutomaticSubtitles.Contracts.Dto;

public class MediaDto : BaseDto
{
    /// <summary>
    /// 媒体类型
    /// </summary>
    [Description("媒体类型")]
    public int MediaType { get; set; }

    /// <summary>
    /// 名称
    /// </summary>
    [Description("名称")]
    public string Name { get; set; }

    /// <summary>
    /// 详细地址
    /// </summary>
    [Description("详细地址")]
    public string Path { get; set; }

    /// <summary>
    /// 根目录
    /// </summary>
    [Description("根目录")]
    public string MainRootDirFPath { get; set; }

    /// <summary>
    /// 上一次写入时间
    /// </summary>
    [Description("上一次写入时间")]
    public DateTime? LastWriteTime { get; set; }

    /// <summary>
    /// 海报
    /// </summary>
    [Description("海报")]
    public string? PosterAddress { get; set; }

    /// <summary>
    /// 横屏
    /// </summary>
    [Description("横屏海报")]
    public string? LandscapeAddress { get; set; }

    /// <summary>
    /// 电视剧的父级信息
    /// </summary>
    [Description("电视剧的父级信息")]
    public string? ParentLevelId { get; set; }

    /// <summary>
    /// 每一集信息地址
    /// </summary>
    [Description("每一集信息地址")]
    public string? InformationAddress { get; set; }

    /// <summary>
    /// 目录等级
    /// </summary>
    [Description("目录等级")]
    public int Leve { get; set; }

    /// <summary>
    /// 季度
    /// </summary>
    [Description("季度")]
    public int Quarter { get; set; }

    /// <summary>
    /// 是否圆盘
    /// </summary>
    [Description("是否圆盘")]
    public bool IsDisc { get; set; }

    /// <summary>
    /// 大小
    /// </summary>
    [Description("大小")]
    public decimal Size { get; set; }

    /// <summary>
    /// 字幕
    /// </summary>
    [Description("字幕")]
    public List<string?> Subtitle { get; set; }

    [Description("信息参数")] public NfoDto? Nfo { get; set; }
}